package lab02.test5;

/**
 * Created by dell on 2017/10/15.
 */
public class cubic {

        //属性：立方体的长、宽和高

        float cubicLong;
        float cubicWide;
        float cubicHigh;

        //行为：对变量进行初始化，计算立方体体积，求给定尺寸的立方体的体积

        void initialize(){}

        float volums(){

            return cubicLong * cubicWide * cubicHigh;
        }

        float revolums(){

            return cubicLong * cubicWide * cubicHigh;
        }
}
